半自动读取f左右键模式,全自动读取1,2,f左右键模式。要鼠标有侧键,没侧键的我看心情帮你们改改……毕竟帖子老是沉,很不爽下面发代码,要写入ahk。
代码1:全自动识别1,2,F,左右键,鼠标侧上键启动
#IfWinActive ahk_class LaunchUnrealUWindowsClient
XButton1::
loop{
send {1}
sleep 10
send {f}
sleep 10
send {2}
sleep 10
send {LButton}
sleep 10
send {RButton}
sleep 10
send {f}
sleep 10
send {t}
}Until Not getkeystate("XButton1","P")
return
F11::suspend
代码2:半自动识别F,左右键,鼠标侧下键启动
#IfWinActive ahk_class LaunchUnrealUWindowsClient
XButton2::
loop{
send {f}
sleep 10
send {LButton}
sleep 10
send {RButton}
sleep 10
send {f}
sleep 0
send {t}
}Until Not getkeystate("XButton2","P")
return
F11::suspend
这是改键
19游戏网整理报道